package com.myhouse.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.myhouse.entity.User;

public interface UserDao {

	User checkLogin(@Param("username")String username,@Param("password")String password);
	User checkUsername(String username);
	void addUser(User user);
	List<User> getAllOrByTitle(@Param("title")String title);
	void updateUser (User user); 
	User getUserById(int id);
	
}
